package com.geyue.core.service.impl;

import com.geyue.common.base.service.impl.BaseServiceImpl;
import com.geyue.core.mapper.CardMapper;
import com.geyue.core.model.Card;
import com.geyue.core.service.CardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Lyon on 2017/3/27.
 */
@Service
public class CardServiceImpl extends BaseServiceImpl<Card> implements CardService {

    @Autowired
    private CardMapper cardMapper;

    @Override
    public List<Card> getRp() {
        return cardMapper.getRp();
    }

    @Override
    public List<Card> getJd() {
        return cardMapper.getJd();
    }
}
